#ifndef __TRIE_NODE_H__
#define __TRIE_NODE_H__

#define M_FLAG_NO_STR   0
#define M_FLAG_HAVE_STR 1

class TrieNode
{
public:
    TrieNode();
    ~TrieNode();

    void insert(TrieNode * child, int idx);
    void remove(int idx);

public:
    char m_data;
    int m_flag;
    TrieNode ** m_children;
    int m_size;
};

#endif